﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HPCERP.Model.Menu
{

    /// <summary>
    /// Menu Items Class
    /// </summary>
    public class MenuGroup
    {
        /// <summary>
        /// Name of the Menu Group
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// List of modules of the group
        /// </summary>
        public List<Module> Modules { get; set; }

        /// <summary>
        /// Construct MenuGroup
        /// </summary>
        /// <param name="name">Name of the Group</param>
        /// <param name="modules">List of Modules</param>
        public MenuGroup(string name, List<Module> modules)
        {
            this.Name = name;
            this.Modules = modules;
        }
    }
}
